package net.flyinggroup.pagination.speaker;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Speaker {
    @Id
    private Integer id;
    private String name;
    private String title;
    private String company;
    @Enumerated(EnumType.STRING)
    @Column(length = 10)
    private Gender gender;
    private String country;
    private String email;
    private String phoneNumber;
    private String twitter;

}
